package com.qfedu.aunt.commons.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaobobo
 * @since 2022-10-27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_store")
@ApiModel(value="Store对象", description="")
public class Store implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "门店id")
    @TableId(value = "store_id", type = IdType.ID_WORKER_STR)
    private String storeId;

    @ApiModelProperty(value = "门店名字")
    private String storeName;

    @ApiModelProperty(value = "门店地址")
    private String storeAddress;

    @ApiModelProperty(value = "门店类型")
    private String storeType;

    @ApiModelProperty(value = "门店经度")
    private String storeLongitude;

    @ApiModelProperty(value = "门店维度")
    private String storeDimension;

    @ApiModelProperty(value = "门店图片")
    private String storePicture;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "删除标记")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "离线乐观锁")
    @Version
    private Integer version;

    @ApiModelProperty(value = "城市名字")
    private String cityName;


}
